from redis import Redis
class Dev():
    # 开发环境配置  默认运行环境为production
    ENV = 'developement'
    # 密钥配置
    SECRET_KEY = 'ddkakda%&akd#@'

    # 配置session
    # session类型可以是文件、数据库
    SESSION_TYPE = 'reids'
    SESSION_REDIS = Redis(host='192.168.221.138',db=8)

    # 配置静态资源
    # STATIC_FOLDER = ''
    # STATIC_URL_PATH=""
class Product():
    ENV = 'production'
    SECRET_KEY = 'd991da%&akd#@'